<div class="callered">
  <div class="title"><p>最近访客</p><a href="javascript:;">更多</a></div>
  <div class="soleplate">
    <% @valleyer.clients(:last => 6 ).each do |client| %>
      <div class="monomer" title ="<%= "#{time_ago_in_words(@valleyer.browse_record(client).created_at, false)}前来访" %>">
        <div class="picture">
          <%= valleyer_logo_image_tag client, :height => 59 %>
        </div>
        <div class="name">
          <%= link_to truncate(client.nick_name, :length => 5),
            valleyer_url(client),
            :target => :_blank,
            :class => "client_name"
        %>
          <a class="hi" href="javascript:;"><%= image_tag('valleyer/hi.jpg') %></a>
        </div>
      </div>
    <% end %>
  </div>
</div>
<div class="good_friend">
  <div class="title"><p>我的好友</p><a href="javascript:;">更多</a></div>
  <div class="soleplate">
    <% @valleyer.friend_ships.each do |friend_ship| %>
      <div class="monomer">
        <div class="picture">
          <%= valleyer_logo_image_tag friend_ship.friend, {:width => 60, :height => 60} %>
        </div>
        <div class="name">
          <%= link_to truncate(friend_ship.friend.nick_name, :length => 5),
            valleyer_url(friend_ship.friend),
            :target => :_blank,
            :title => friend_ship.friend.nick_name
        %>
          <a class="hi" href="javascript:;"><%= image_tag('valleyer/hi.jpg') %></a>
        </div>
      </div>
    <% end %>
  </div>
</div>
